package com.menu.MENU;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;

public class MenuActivity extends Activity {
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		
		Menu menu = (Menu) findViewById(R.menu.menuh);
		//PROBLEM HERE
		menu.add("Menu Item 1");
		//PROBLEM HERE ^^^
		menu.add("Menu Item 2");
		
	}     
	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		MenuInflater inflater = getMenuInflater();
		inflater.inflate(R.menu.menuh, menu);
		return true;
	}

}